package com.xdap.keymen;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(
        exclude = {EmbeddedMongoAutoConfiguration.class}
)
//下边这行，开发时放开，打包时注释掉，否则会报错：
@EnableFeignClients("com.xdap.*")
@ComponentScan(basePackages = {"com.definesys.mpaas", "com.xdap.*"})
public class PunchApplication {
    public static void main(String[] args) {
        SpringApplication.run(PunchApplication.class, args);
    }

}
